package cn.mes.module.mes.controller.admin.basecustomerinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;


import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 客户基础信息新增/修改 Request VO")
@Data
public class BaseCustomerInfoSaveReqVO {

    @Schema(description = "客户信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4876")
    private String id;

    @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "客户名称不能为空")
    private String customerName;

    @Schema(description = "客户简称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "客户简称不能为空")
    private String customerShortName;

    @Schema(description = "客户备注", example = "你猜")
    private String customerRemark;

    @Schema(description = "客户代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "客户代码不能为空")
    private String customerCode;

    @Schema(description = "显示顺序")
    private Integer orderNo;

}